/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 言初
 * Date: 2023-01-14
 * Time: 11:24
 */
public class Test {
    public static void main(String[] args) {
        MyLinkedList myLinkedList=new MyLinkedList();
        myLinkedList.createList();
        myLinkedList.display();
        int size=myLinkedList.size();
        System.out.println(size);
        /*myLinkedList.removeAllKey2(1);
        myLinkedList.display();*/
        myLinkedList.removeAllKey(1);
        myLinkedList.display();
        /*myLinkedList.remove(4);
        myLinkedList.display();*/
        //System.out.println(myLinkedList.contains(1));
        //System.out.println(myLinkedList.addIndex(5,5));
        /*myLinkedList.addFirst(6);
        myLinkedList.display();
        myLinkedList.addLast(7);
        myLinkedList.display();*/
    }
}
